<%@ page language="java" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="/WEB-TAG/platForm.tld" prefix="PF"%>
<!--实体管理-->
<div class="easyui-layout" data-options="fit:true">
	<div class="TableTitle" data-options="region:'north',border:false">
		<c:if test="${pageset.pageType==1}">新增${JSP_Messager_Title}记录</c:if>
		<c:if test="${pageset.pageType==2}">修改${JSP_Messager_Title}记录</c:if>
		<c:if test="${pageset.pageType==0}">浏览${JSP_Messager_Title}记录</c:if>
	</div>
	<div data-options="region:'center'">
		<form id="dom_form">
			<table class="editTable">
				<c:forEach items="${jsonResult.rows}" var="node">
					<tr>
						<td class="title" style="width: 200px;">
							${node.NAME}:
						</td>
						<td colspan="3">
							${node.DOUBLE_} ${node.TEXT2_} ${node.TEXT_} ${node.LONG_}
						</td>
					</tr>
				</c:forEach>
			</table>
		</form>
	</div>
	<div data-options="region:'south',border:false">
		<div class="div_button" style="text-align: center; padding: 4px;">
			<a id="dom_cancle_form" href="javascript:void(0)"
				iconCls="icon-cancel" class="easyui-linkbutton"
				style="color: #000000;">取消</a>
		</div>
	</div>
</div>
<script type="text/javascript">
	var submitAddAction = 'admin/taskhistoryaddCommit.do';
	var submitEditAction = 'admin/taskhistoryeditCommit.do';
	var currentPageType = '${pageset.pageType}';
	var submitForm;
	$(function() {
		//表单组件对象
		submitForm = $('#dom_form').SubmitForm( {
			pageType : currentPageType,
			grid : grid,
			currentWindowId : 'win'
		});
		//关闭窗口
		$('#dom_cancle_form').bind('click', function() {
			$('#win').window('close');
		});
	});
	//-->
</script>